package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 商家商品管理对象 t_goods
 *
 * @author 陈捷
 * @date 2024-11-21
 */
public class TGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private String goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 品牌ID */
    private String brandId;
    /** 仓库id */
    private Long warehouseId;

    /**分类id */
    private Long classifyId;
    /** 分类名*/
    private String classifyName;
    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 商品主图 */
    @Excel(name = "商品主图")
    private String goodsUrl;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private String goodsPrice;

    /** 商品简介 */
    @Excel(name = "商品简介")
    private String goodsInfo;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private String state;

    private List<TGoodsSpecs> tGoodsSpecsList;

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public Long getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(Long classifyId) {
        this.classifyId = classifyId;
    }

    public List<TGoodsSpecs> gettGoodsSpecsList() {
        return tGoodsSpecsList;
    }

    public void settGoodsSpecsList(List<TGoodsSpecs> tGoodsSpecsList) {
        this.tGoodsSpecsList = tGoodsSpecsList;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public void setGoodsId(String goodsId)
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId()
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setBrandId(String brandId)
    {
        this.brandId = brandId;
    }

    public String getBrandId()
    {
        return brandId;
    }
    public void setGoodsUrl(String goodsUrl)
    {
        this.goodsUrl = goodsUrl;
    }

    public String getGoodsUrl()
    {
        return goodsUrl;
    }
    public void setGoodsPrice(String goodsPrice)
    {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsPrice()
    {
        return goodsPrice;
    }
    public void setGoodsInfo(String goodsInfo)
    {
        this.goodsInfo = goodsInfo;
    }

    public String getGoodsInfo()
    {
        return goodsInfo;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("brandId", getBrandId())
            .append("goodsUrl", getGoodsUrl())
            .append("goodsPrice", getGoodsPrice())
            .append("goodsInfo", getGoodsInfo())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
